﻿var Backlogs = {};

function backlogs(id,
                  callbackTarget,
                  tfsLocator) {

    Backlogs = this;

    this.m_id = id;
    this.m_callbackTarget = callbackTarget;
    this.m_tfsLocator = tfsLocator;
    this.SearchHelper = new searchHelper(tfsLocator);

    this.init = function () {
        var _this = this;
    }

    this.openBacklog = function (backlogName) {
        PopupManager.hide();

        var _url = DocumentService.createUrl("/tfs/web/UI/Pages/Scrumboard/Planning.aspx", { backlog: backlogName }, this.m_tfsLocator);
        //WindowHelpers.navigate(_url);
        alert(_url);
    }
}
